﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

public partial class HtmlServerControl : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Text1.ServerChange += new EventHandler(Text1_ServerChange);
    }

    protected void Text1_ServerChange(object sender, EventArgs e)
    {
        Response.Write("changed");
    }

    protected void Button1_ServerClick(object sender, EventArgs e)
    {
    }

    protected void ImageMap1_Click(object sender, ImageMapEventArgs e)
    {
        if (e.PostBackValue == "circle")
            Response.Write("Circle");
    }
}